"use strict";

const path = require("path");
const app = require("express")();

module.exports = function(topApp){
  app.use("/cards", require("./routers/cards_router"));//对应卡片

  app.use("/notify", require("./routers/notify_router"));//对应卡片

  app.use('/more', require("express").static(path.join(__dirname, "/www")));// 兼容服务号跳转，遗弃

  topApp.use('/', app);
}
